number = eval(input('number:'))
# if number == 987654 :
#     print('success')
# else:
#     print('fail')

print('可以用条件表达式进行简化')

result = 'success' if number == 9876 else 'fail'
print(result)